package 数论.约数个数;

import java.math.BigInteger;
import java.util.Scanner;

public class java自带的gcd {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        BigInteger aa = sc.nextBigInteger();
        BigInteger bb = sc.nextBigInteger();
        System.out.println(aa + "和" + bb + "的最小公倍数是: " + aa.gcd(bb));
    }
}
